package com.frxuexi.mdm2201

import android.app.Application
import android.content.Context
import com.alibaba.android.arouter.launcher.ARouter
//import com.alibaba.android.arouter.launcher.ARouter
//import com.frxuexi.lib_base.BaseApp
//import com.frxuexi.lib_base.base.BaseAppViewModel
import com.tencent.mmkv.MMKV
import kotlin.properties.Delegates


class APP:Application(){
    companion object{
        var appContext: Context by Delegates.notNull<Context>()
    }
    override fun onCreate() {
        super.onCreate()
        ARouter.init(this)
        ARouter.openDebug()
        ARouter.openLog()
        MMKV.initialize(this)
        appContext =applicationContext
    }

   /* override val viewModelStore:ViewModelStore
        get() = ViewModelStore()*/
}